<?php
/**
 * Created by PhpStorm.
 * User: Peco
 * Date: 2019/9/16
 * Time: 22:15
 */

namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class AuctionRule extends Model
{
    /**
     * 与模型关联的数据表
     *
     * @var string
     */
    protected $table = 'auction_rule';

    /**
     * 主键
     * @var string
     */
    protected $primaryKey = 'id';

    /**
     * 需要被转换成日期的属性。
     *
     * @var array
     */
    protected $dates = ['createTime', 'updateTime'];

    /**
     * @var array
     */
    protected $guarded = ['id'];

    /**
     * @var array
     */
    protected $hidden = ['deleted_at'];

    /**
     * 解决update/save方法会更新update_at的问题
     * @var array
     */
    const UPDATED_AT = null;
    const CREATED_AT = null;

}
